package cn.south.campus.business.model.entity;

import cn.south.campus.common.model.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2025-01-16
 */
@EqualsAndHashCode(callSuper = true)
@TableName("campus_complaint_comment")
@Data
public class ComplaintComment extends BaseEntity {

    /**
     * 图片
     */
    private String pic;

    /**
     * 内容
     */
    private String content;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 昵称
     */
    @TableField(exist = false)
    private String nickname;

    /**
     * 头像
     */
    @TableField(exist = false)
    private String avatar;

    /**
     * 吐槽id
     */
    private Long complaintId;

    /**
     * 父id
     */
    private Long pId;

    private String pNickname;

    /**
     * 祖先id
     */
    private Long ancestor;

}
